<?php

namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;

class Shop extends Authenticatable
{
    //
    use Notifiable;
    public $timestamps = false;
    protected $fillable = [
    	'shopname','shoppic','mobile','referral','address','addressmore','contactman','contacttel','remark','entertime','closeshop','changetime','status','sclassid','expiretime'
    ];
    protected $hidden = [
    	'remember_token',
    ];
    /**
     * @time 2017-12-09
     * @author Kowy
     * @tool PhpStorm
     */
    public function getEntertimeAttribute($value)
    {
        return date('Y-m-d',$value);
    }
    public function getChangetimeAttribute($value)
    {
        return date('Y-m-d',$value);
    }

}
